#pragma once
#include <string>
#include <fstream>
#include <map>

class CodeFile
{
public:
	CodeFile(std::string filePath);
	~CodeFile(void);

	void Match(char);
	void SkipWhite();
	void GetNextChar();
	int GetNum();
	char GetName();

	char Lookahead;
	std::map<char, int> Table;
private:
	std::ifstream _fileStream;
};

